package com.ddwl.schema.vo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 限时抢购商品
 * @author wenbin
 */
@Data
@ApiModel("限时抢购商品")
public class LimitTimePurGoodVo {

    @ApiModelProperty(value = "门店id",hidden = true)
    private String shopId;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("skuId")
    private String skuId;

    @ApiModelProperty("秒杀活动id")
    private String limitActiveId;

    @ApiModelProperty("商品主图")
    private String imageUrl;

    @ApiModelProperty(value = "barcode")
    private String barcode;

    @ApiModelProperty(value = "商品id")
    private String itemId;

    @ApiModelProperty(value = "商品名称")
    private String itemName;

    @ApiModelProperty(value = "商品金额")
    private BigDecimal itemPrice;

    @ApiModelProperty(value = "虚拟销量")
    private Integer oldSaleCount;

    @ApiModelProperty(value = "商品描述")
    private String itemSpecs;

    @ApiModelProperty(value = "秒杀价格")
    private BigDecimal limitPrice;

    @ApiModelProperty(value = "秒杀数量")
    private Integer limitCount;

    @ApiModelProperty(value = "下单数量")
    private Integer saleCount;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "分润金额")
    private BigDecimal distAmount;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty("订单数量")
    private Integer sales;

    @ApiModelProperty("浏览量")
    private Integer viewCount;

    @ApiModelProperty("是否展示 0否 1是")
    private Integer isEffect;
}

